package com.jdrx.sw.sewage.beans.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * sewage_alarm_tsi_alarm_si
 */
@ApiModel(value = "告警设置和告警类型设置中间表")
@Data
public class AlarmTsiAlarmSiPO implements Serializable {
    private static final long serialVersionUID = -1206960462117924923L;

    @NotNull
    @Range(min = 1)
    @ApiModelProperty(value = "id主键ID", required = true)
    private Long id;

    @ApiModelProperty(value = "wqAlarmTypeSetId水质告警类型设置id", required = true)
    private Long wqAlarmTypeSetId;

    @ApiModelProperty(value = "alarmSetId告警设置ID", required = true)
    private Long alarmSetId;
}